<?php


if(isset($oplevelser)) 
{
	echo "<p><b class='rubrik' >Oplevelser:</b>";


	if($this->uri->segment(4) == 'gruppe' and $er_jeg_admin == "ja") 
	{
		echo anchor("core/vis/se/gruppe/".$id."/rediger_oplevelser"," ","class='rediger' title='Rediger'"); 
	}
	if($this->uri->segment(4) == 'individ' and $er_jeg_admin == "ja")
	{
	echo anchor("core/vis/se/individ/".$id."/rediger_oplevelser"," ","class='rediger' title='Rediger'");	
	}
	
	echo "</p>";
		

	foreach($oplevelser as $r)
	{

		
		echo "<p class='ink' style='float:left; width:145px;'>".$r['tid_interval'].":".nbs(2)."</p>";

		echo "<p style='float:left; min-width:50%; background:none;' class='ink'>";
		echo anchor("core/vis/se/begivenhed/".$r['id'],$r['navn'],"class='ink'"); 
    	echo "</p>";
		
		
	}
	echo "</p>";
}


























?>

